package com.mission.game.utils;

import com.mission.game.creategame.CreateBarcodeTask;
import com.mission.game.playgame.PlayBarcodeTask;

public class BarcodeTask extends Task {

	private String _barcodeContents;
	private String _userScan;

	private static final long serialVersionUID = -1261013166582633917L;

	public BarcodeTask(String name, String description, Mission mission) {
		super(name, description, mission);
		_barcodeContents = "";
		_userScan = "";
	}

	public BarcodeTask() {
		this("", "", null);
	}

	@Override
	public Class<?> getCreateClass() {
		return CreateBarcodeTask.class;
	}

	public String getBarcodeContents() {
		return _barcodeContents;
	}

	public void setBarcodeContents(String contents) {
		_barcodeContents = contents;
	}

	@Override
	public Class<?> getPlayClass() {
		return PlayBarcodeTask.class;
	}

	public String getUserScan() {
		return _userScan;
	}

	public void setUserScan(String userScan) {
		_userScan = userScan;
	}

}
